-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increment version to 2.4.2-SNAPSHOT #2372
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While you are working on this could you alter the updateVersion
to handle this automatically for minor version bumps like this one?
Lines 636 to 638 in 67e4176
// updateVersion: Task to auto increment to the next development iteration | |
task updateVersion { | |
onlyIf { System.getProperty('newVersion') } |
Codecov Report
@@ Coverage Diff @@
## 2.4 #2372 +/- ##
============================================
- Coverage 61.08% 61.00% -0.09%
+ Complexity 3252 3244 -8
============================================
Files 258 258
Lines 18131 18131
Branches 3232 3232
============================================
- Hits 11076 11060 -16
- Misses 5483 5495 +12
- Partials 1572 1576 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Gotcha! |
@@ -3,7 +3,7 @@ name: Plugin Install | |||
on: [push, pull_request, workflow_dispatch] | |||
|
|||
env: | |||
OPENSEARCH_VERSION: 2.4.1 | |||
OPENSEARCH_VERSION: 2.4.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could automate this by setting this as an ID and then using something along the lines of:
awk '*-SNAPSHOT' ./build.gradle | awk -F '-' $OPENSEARCH_VERSION=$1
This should parse build.gradle for the string containing the term "-SNAPSHOT" and then pipe that line over where it is split with the deliminator '-' and set the variable to be the first of the substrings.
This may not be perfect syntax but should be close.
Hi @peternied and @scrawfor99, thanks for your info! I have updated the task called |
880f25f
to
1fb9592
Compare
I will create a separate PR against to main to apply these changes |
Signed-off-by: Ryan Liang <[email protected]>
1fb9592
to
97ccd29
Compare
Here is the PR: #2374 |
Signed-off-by: Ryan Liang [email protected]
Description
Increment version to 2.4.2-SNAPSHOT
Issues Resolved
Check List
New functionality includes testingNew functionality has been documentedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.